<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%String menu="1"; %>
<%@ include file="/head.jsp" %>
<div id="main">
	<div id="main_banner"></div>
	<div id="user_reg">
		<div class="title"><h3>用户注册</h3></div>
		<div class="content">
			<s:form action="userReg" namespace="/user" validate="true" theme="simple" method="post"  >
			<table width="100%" border="0" cellspacing="1" cellpadding="0">
			  <tr>
				<th scope="row">用户名：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userName"/></td>
				<td><font color="red">*</font> 输入您的用户名，长度在3~15位之间</td>
			  </tr>
			  <tr>
				<th scope="row">密码：</th>
				<td><s:password cssClass="textfield" name="userInfo.userPassword"/></td>
				<td><font color="red">*</font>密码由6~15位组成</td>
			  </tr>
			  <tr>
				<th scope="row">重复密码：</th>
				<td><s:password cssClass="textfield" name="userInfo.userPassword1"/></td>
				<td><font color="red">*</font>请再次填写您的登录密码</td>
			  </tr>
			  <tr>
				<th scope="row">Email：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userEmail"/></td>
				<td><font color="red">*</font>您的Email地址，用于找回密码和接收相关信息</td>
			  </tr>
			  <tr>
				<th scope="row">地址：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userAddress"/></td>
				<td>您的住址，方便联系（选填）</td>
			  </tr>
			  <tr>
				<th scope="row">电话：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userPhone"/></td>
				<td>您的电话，方便联系（选填）</td>
			  </tr>
			  <tr>
				<th scope="row">QQ：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userQQ"/></td>
				<td>您的QQ号码，方便联系（选填）</td>
			  </tr>
			  <tr>
				<th scope="row">MSN：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userMsn"/></td>
				<td>您的MSN号码，方便联系（选填）</td>
			  </tr>
			  <tr>
				<th scope="row">密码保护问题：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userAsk"/></td>
				<td><font color="red">*</font>您的密码保护问题，用于找回密码</td>
			  </tr>
			  <tr>
				<th scope="row">保护问题答案：</th>
				<td><s:textfield cssClass="textfield" name="userInfo.userAnswer"/></td>
				<td><font color="red">*</font>您的密码保护问题答案，用于找回密码</td>
			  </tr>
			</table>
			<div id="login_btn">
				<a href="javascript:userReg.submit()">提交注册信息</a>
				<a href="/user/registry.jsp">重新填写</a>
			</div>
			</s:form>
		</div>
	</div>
</div>
<%@ include file="/foot.jsp" %>